package com.sgq.vue.service.resource;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sgq.vue.entity.resource.City;
import com.sgq.vue.entity.resource.Weather;
import com.sgq.vue.entity.resource.WeatherApi;
import com.sgq.vue.vo.query.resource.WeatherApiQueryVo;
import com.sgq.vue.vo.query.resource.WeatherRequestQueryVo;

import java.util.List;

/**
 * @author: 83778
 * @date: 2023-12-26 0:40
 * @desc:
 */
public interface WeatherApiService extends IService<WeatherApi> {

    IPage<WeatherApi> findWeatherApiByPage(WeatherApiQueryVo weatherApiQueryVo);

    boolean updateState(Long id , Integer state , Long userId);

    List<WeatherApi> findWeatherApiByBelongs(Long belongs);


    String sendRequest(WeatherRequestQueryVo weatherRequestQueryVo);


}
